package cn.wh.netty.pojo;

import io.netty.channel.Channel;

/**
 * @author HongXiaoHan
 * @date 2023/4/29 22:16
 */
public class SignalClient {
    /**
     * 房间号
     */
    private String roomId;

    /**
     * 用户Id
     */
    private String userId;

    /**
     * 用户通道
     */
    private Channel channel;

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Channel getChannel() {
        return channel;
    }

    public void setChannel(Channel channel) {
        this.channel = channel;
    }

    public SignalClient(String userId, String roomId, Channel channel) {
        this.roomId = roomId;
        this.userId = userId;
        this.channel = channel;
    }
}
